STEP 12: Now that we're changing the dragon_count, we should update our display!

  • In LOGIC, click on and drag in Update Display INSIDE your collision event.
  • Change the variable in front of .update() from my_display to dragon_count_display
  • Change the variable inside the parentheses from my_var to dragon_count.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)